package lab_4;

import javax.ejb.Remote;

/**
 *
 * @author grp02 - Pascal Charreix and Meike Paetz
 *
 * This is the remote business interface for SmartTours' contingent object
 */
@Remote
public interface SmartToursContingent {

    /**
     *
     * This is to initialize the object with information about a new contingent
     * from the hotel operator
     */
    public void initialize(int single, int family, String name);

    /**
     *
     * This is to get information about how many single rooms are booked
     */
    public int getSingleBookedRoom();

    /**
     *
     * This is to get information about how many family rooms are booked
     */
    public int getFamilyBookedRoom();

    /**
     *
     * This is to get information about by which travel agency the room is
     * booked
     */
    public String getTravelAgencyName();
}
